/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package editor;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Node</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link editor.Node#getName <em>Name</em>}</li>
 *   <li>{@link editor.Node#getIncomingNode <em>Incoming Node</em>}</li>
 *   <li>{@link editor.Node#getOutgoingNode <em>Outgoing Node</em>}</li>
 * </ul>
 * </p>
 *
 * @see editor.EditorPackage#getNode()
 * @model abstract="true"
 *        annotation="gmf.node label='name'"
 * @generated
 */
public interface Node extends EObject {
	/**
   * Returns the value of the '<em><b>Name</b></em>' attribute.
   * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
   * @return the value of the '<em>Name</em>' attribute.
   * @see #setName(String)
   * @see editor.EditorPackage#getNode_Name()
   * @model required="true"
   * @generated
   */
	String getName();

	/**
   * Sets the value of the '{@link editor.Node#getName <em>Name</em>}' attribute.
   * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
   * @param value the new value of the '<em>Name</em>' attribute.
   * @see #getName()
   * @generated
   */
	void setName(String value);

	/**
   * Returns the value of the '<em><b>Incoming Node</b></em>' reference.
   * It is bidirectional and its opposite is '{@link editor.Relationship#getTargetRelationship <em>Target Relationship</em>}'.
   * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Incoming Node</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
   * @return the value of the '<em>Incoming Node</em>' reference.
   * @see #setIncomingNode(Relationship)
   * @see editor.EditorPackage#getNode_IncomingNode()
   * @see editor.Relationship#getTargetRelationship
   * @model opposite="targetRelationship" required="true"
   * @generated
   */
	Relationship getIncomingNode();

	/**
   * Sets the value of the '{@link editor.Node#getIncomingNode <em>Incoming Node</em>}' reference.
   * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
   * @param value the new value of the '<em>Incoming Node</em>' reference.
   * @see #getIncomingNode()
   * @generated
   */
	void setIncomingNode(Relationship value);

	/**
   * Returns the value of the '<em><b>Outgoing Node</b></em>' reference list.
   * The list contents are of type {@link editor.Relationship}.
   * It is bidirectional and its opposite is '{@link editor.Relationship#getSourceRelationship <em>Source Relationship</em>}'.
   * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Outgoing Node</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
   * @return the value of the '<em>Outgoing Node</em>' reference list.
   * @see editor.EditorPackage#getNode_OutgoingNode()
   * @see editor.Relationship#getSourceRelationship
   * @model opposite="sourceRelationship"
   * @generated
   */
	EList<Relationship> getOutgoingNode();

} // Node
